package com.jinmdz.app.dao.model.service;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.app.dao.base.BaseItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 服务项目item
 *
 * @author LiCongLu
 * @date 2020-02-12 15:44
 */
@ApiModel(value = "服务项目item", description = "服务项目item")
public class ServiceItem extends BaseItem {
    /**
     * 服务分类外键
     */
    @ApiModelProperty(value = "服务分类外键", name = "serviceTypeId", position = 1)
    private Integer serviceTypeId;

    /**
     * 项目编码
     */
    @ApiModelProperty(value = "项目编码", name = "itemCode", position = 2)
    private String itemCode;

    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称", name = "itemName", position = 3)
    private String itemName;

    /**
     * 项目名称拼音缩写
     */
    @ApiModelProperty(value = "项目名称拼音缩写", name = "itemNameAbbr", position = 4)
    private String itemNameAbbr;

    /**
     * 项目价格
     */
    @ApiModelProperty(value = "项目价格", name = "itemPrice", position = 5)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @ApiModelProperty(value = "项目数量", name = "itemNumber", position = 6)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemNumber;

    /**
     * 项目单位
     */
    @ApiModelProperty(value = "项目单位", name = "itemUnit", position = 7)
    private String itemUnit;

    /**
     * 项目描述
     */
    @ApiModelProperty(value = "项目描述", name = "itemDescribe", position = 8)
    private String itemDescribe;

    /**
     * 是否物品
     */
    @ApiModelProperty(value = "是否物品", name = "asGoods", position = 9)
    private Integer asGoods;

    /**
     * 是否项目包
     */
    @ApiModelProperty(value = "是否项目包", name = "asPackage", position = 10)
    private Integer asPackage;

    /**
     * 是否固定价格
     */
    @ApiModelProperty(value = "是否固定价格", name = "asFixPrice", position = 11)
    private Integer asFixPrice;

    /**
     * 销售状态
     */
    @ApiModelProperty(value = "销售状态", name = "disableState", position = 12)
    private Integer disableState;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", name = "sort", position = 13)
    private Integer sort;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", name = "remark", position = 14)
    private String remark;

    public Integer getServiceTypeId() {
        return serviceTypeId;
    }

    public ServiceItem setServiceTypeId(Integer serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
        return this;
    }

    public String getItemCode() {
        return itemCode;
    }

    public ServiceItem setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public ServiceItem setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }

    public String getItemNameAbbr() {
        return itemNameAbbr;
    }

    public ServiceItem setItemNameAbbr(String itemNameAbbr) {
        this.itemNameAbbr = itemNameAbbr;
        return this;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public ServiceItem setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
        return this;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public ServiceItem setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
        return this;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public ServiceItem setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
        return this;
    }

    public String getItemDescribe() {
        return itemDescribe;
    }

    public ServiceItem setItemDescribe(String itemDescribe) {
        this.itemDescribe = itemDescribe;
        return this;
    }

    public Integer getAsGoods() {
        return asGoods;
    }

    public ServiceItem setAsGoods(Integer asGoods) {
        this.asGoods = asGoods;
        return this;
    }

    public Integer getAsPackage() {
        return asPackage;
    }

    public ServiceItem setAsPackage(Integer asPackage) {
        this.asPackage = asPackage;
        return this;
    }

    public Integer getAsFixPrice() {
        return asFixPrice;
    }

    public ServiceItem setAsFixPrice(Integer asFixPrice) {
        this.asFixPrice = asFixPrice;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public ServiceItem setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public ServiceItem setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public ServiceItem setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}
